package com.example.lt.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 涛Tao
 * @Date: 2024/05/29/9:07
 * version 1.0 注释：歌单评分类
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "rank_list") // 对应数据库中的rank_list表
public class RankList {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long songListId;

    private Long consumerId;

    private Integer score;

}
